Previous Book Contents Book Index Next

Inside Macintosh: QuickDraw GX Objects /
Chapter 2 - Shape Objects / Shape Objects Reference
Functions / Manipulating Shape Object Properties


GXGetShapeAttributes

You can use the GXGetShapeAttributes function to examine which attributes of a shape object are set.

gxShapeAttribute GXGetShapeAttributes(gxShape source);
source
A reference to the shape to find the attributes of.
function result
The shape attributes of the source shape.
ERRORS, WARNINGS, AND NOTICES
Errors 
out_of_memory 
shape_is_nil 
SEE ALSO
Shape attributes are described in the section "Shape Attributes" beginning on page 2-16, and in the section "Getting and Setting a Shape Object's Type, Fill, and Attributes" beginning on page 2-28.

To change the attributes of a shape object, use the GXSetShapeAttributes function, described in the next section.

For an example of the use of this function, see page 2-29.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996